#!/usr/bin/env ruby

require "rubygems"
require "bundler/setup"
require "celluloid"
require "benchmark/ips"
require File.expand_path("../examples/ring", __dir__)

# 512-node ring
ring = Ring.new 512

Benchmark.ips do |ips|
  ips.report("ring-around") { |n| ring.run n }
end
